<!DOCTYPE html><html>
<head>
    <meta charset="UTF-8">
    <title>Error - {{status}}</title>
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <style>
    body {
        padding: 50px 80px;
        font: 14px "Helvetica Neue", Helvetica, sans-serif;
    }
    h1 {
        font-size: 2em;
        margin-bottom: 5px;
    }
    pre {
        font-size: .8em;
    }
    </style>
</head>

<body>
    <div id="error">
        <h1>Error</h1>
        <!-- <p>Looks like something wrong!</p> -->
        {% if env == 'development' %}
        <pre><code>
{{stack}}
        </code></pre>
        {% else %}
        <p>{{error}}</p>
        {% endif %}

        <br>
        <p><a href="/">返回首页</a></p>
    </div>
</body>
</html>